package edu.westga.src.javamin.tests;

import org.junit.Test;

import edu.westga.src.javamin.main.NoteMaker;
import static org.junit.Assert.assertEquals;


public class JavaminTest {
	private NoteMaker theNoteMaker = new NoteMaker();
	
	@Test
	public void NoteShouldBeEWhentheNoteMakermakeNote100()
	{
		assertEquals("E", theNoteMaker.makeNote(100));
	}
	
	@Test
	public void NoteShouldBeCWhentheNoteMakermakeNote12()
	{
		assertEquals("C", theNoteMaker.makeNote(12));
	}
	
	@Test
	public void NoteShouldBeCsharpWhentheNoteMakermakeNote145()
	{
		assertEquals("C#", theNoteMaker.makeNote(145));
	}
	
	@Test
	public void NoteShouldBeDWhenWhentheNoteMakermakeNote38()
	{
		assertEquals("D", theNoteMaker.makeNote(38));
	}
	
	@Test
	public void NoteShouldBeEbWhentheNoteMakermakeNote15()
	{
		assertEquals("Eb", theNoteMaker.makeNote(15));
	}
	
	@Test
	public void NoteShouldBeFWhentheNoteMakermakeNote17()
	{
		assertEquals("F", theNoteMaker.makeNote(17));
	}
	
	@Test
	public void NoteShouldBeGbWhentheNoteMakermakeNote18()
	{
		assertEquals("Gb", theNoteMaker.makeNote(18));
	}
}
